package com.zetyun.tiger.format.header;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zetyun.rt.meta.jsonschema.annotation.JsonSchemaTitle;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class ExtractTopicParameter {

    @JsonSchemaTitle("主题字段名称")
    @JsonProperty(defaultValue = "topic")
    private String topicField;

    @JsonSchemaTitle("主题分隔符")
    @JsonProperty(defaultValue = "-")
    private String topicSeparator;


    @JsonSchemaTitle("数据库名称位置索引")
    @JsonProperty(required = true)
    private Integer dbIndex;

    @JsonProperty(required = true)
    @JsonSchemaTitle("表名位置索引")
    private Integer tbIndex;
}
